package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.Customer;
import org.example.pojo.PayDetail;
import org.example.pojo.PayMain;

import java.util.List;

public interface PayMainMapper {
    //添加数据
    void addPayMain(PayMain payMain);



    //删除数据
    void deletePayMain(@Param("Pids") Integer[] Pids);



    //修改数据
    void updatePayMain(PayMain payMain);


    //查询数据
    List<PayMain> queryPayMain(PayMain payMain);


    List<PayMain> selectAll();


    //根据id查询数据
    PayMain queryPayMainById(@Param("Pid") Integer Pid);
}
